package com.fen.demo012;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author : lrf
 * @description :
 * @tip :
 * @date : 2019/3/22
 */
public class App {

    public static void main(String[] args) {

        ApplicationContext context = new AnnotationConfigApplicationContext(User12Config.class);

        User12Service user12Service = context.getBean("user12Service", User12Service.class);

        user12Service.sing();
    }
}
